<!DOCTYPE html>
<html>
    <head>
        <title>Issue 6438: Escaping percentage sign in console.log() junks the rest of the arguments</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link href="../../../_common/testcase.css" type="text/css" rel="stylesheet"/>
        <script type="text/javascript">
        console.log("console.log() allows patterns like %c%%d%c, which are replaced by " +
            "additional function arguments. Example: %d", "font-style: italic; font-weight: bold", "font-style: normal; font-weight: normal", 100);
        </script>
    </head>
    <body>
        <header>
            <h1><a href="http://code.google.com/p/fbug/issues/detail?id=6438">Issue 6438</a>: Escaping percentage sign in console.log() junks the rest of the arguments</h1>
        </header>
        <div>
            <section id="description">
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>Enable and switch to the <em>Console</em> panel</li>
                    <li>Reload the page</li>
                </ol>
                <h3>Expected result</h3>
                <ul>
                    <li>
                        The console should list the following log entry:
                        <code>
console.log() allows patterns like <em>%d</em>, which are replaced by additional function arguments. Example: 100</code>
                        and <code>%d</code> must be italic and bold.
                    </li>
                </ul>
            </section>
            <footer>Sebastian Zartner, sebastianzartner@gmail.com</footer>
        </div>
    </body>
</html>
